package com.skivingcloud.admin.sys.service;

import com.skivingcloud.admin.sys.entity.SysCaptcha;

import java.awt.image.BufferedImage;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 系统验证码 服务类
 * </p>
 *
 * @author skivingcloud
 * @since 2022-01-28
 */
public interface ISysCaptchaService extends IService<SysCaptcha> {

	BufferedImage getCaptcha(String uuid) throws Exception;

	boolean validate(String uuid, String captcha);

}
